package com.stcc.portal;


import org.apache.dubbo.config.spring.context.annotation.EnableDubboConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * 描述:门户中心启动
 * 项目名:stcc-gl_parent
 * 包名:com.stcc.portal
 * 作者:stcc
 * 创建时间:2021/3/22 13:57
 * 版本:1.0
 */
@SpringBootApplication(scanBasePackages = {
        "com.stcc.portal",
        "com.stcc.dataConfig",
        "com.stcc.base"
       })
@EnableFeignClients(basePackages = {"com.stcc.portal", "com.stcc.dataConfig","com.stcc.base"})
@EnableDubboConfig
public class PortalApplication {
    public static void main(String[] args) {
        try {
            SpringApplication.run(PortalApplication.class, args);
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}
